<?php echo css('admin/style.css'); ?>
<?php echo css('jquery/jquery-ui.css'); ?>
<?php echo css('jquery/colorbox.css'); ?>
<?php echo js('jquery/jquery-ui.min.js'); ?>
<?php echo js('jquery/jquery.colorbox.min.js'); ?>
<?php echo js('jquery/jquery.livequery.min.js'); ?>
<?php echo js('admin/functions.js'); ?>
<?php if (isset($analytic_visits) OR isset($analytic_views)): ?>
<?php echo js('jquery/jquery.excanvas.min.js'); ?>
<?php echo js('jquery/jquery.flot.js'); ?>
<?php endif; ?>

<script type="text/javascript">
    var APPPATH_URI = "<?php echo APPPATH_URI; ?>",
            SITE_URL = "<?php echo BASE_URL; ?>",
            BASE_URL = "<?php echo BASE_URL; ?>",
            BASE_URI = "<?php echo BASE_URI; ?>",
            UPLOAD_PATH = "<?php echo UPLOAD_PATH; ?>",
            DEFAULT_TITLE = "<?php echo $this->settings->site_name; ?>",
            DIALOG_MESSAGE = "<?php echo lang('dialog.delete_message'); ?>";

    pyro.admin_theme_url = "<?php echo BASE_URL . $this->admin_theme->path; ?>";
    pyro.apppath_uri = "<?php echo APPPATH_URI; ?>";
    pyro.base_uri = "<?php echo BASE_URI; ?>";

    jQuery.noConflict();
</script>

<?php echo $template['metadata']; ?>
